package com.qst.Vo;

import org.apache.ibatis.annotations.Param;

/**
 * @ClassNmae: ChooseVo
 * @Author: 邓嘉顺
 * @Description:
 */
public class ChooseVo {
    private  Integer userId;
    private  String  userName;
    private  String userPwd;
    private  Integer userGender;
    private  Integer courseId;
    private  String  courseName;
    private  String  courseClass;
    private  String  courseCredit;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserGender(){

        if(userGender==1){
            return "男";
        }
        else{
            return "女";
        }
    }

    public void setUserGender(Integer userGender) {
        this.userGender = userGender;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseClass() {
        return courseClass;
    }

    public void setCourseClass(String courseClass) {
        this.courseClass = courseClass;
    }

    public String getCourseCredit() {
        return courseCredit;
    }

    public void setCourseCredit(String courseCredit) {
        this.courseCredit = courseCredit;
    }

    @Override
    public String toString() {
        return "ChooseVo{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userGender=" + userGender +
                ", courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", courseClass='" + courseClass + '\'' +
                ", courseCredit='" + courseCredit + '\'' +
                '}';
    }
}
